package gdb;

import java.sql.Connection;
import java.sql.DriverManager;

public class mydatabase 
{
	public static Connection mydbcon()
	{
		Connection con=null;
		try
		{
			Class.forName("oracle.jdbc.driver.OracleDriver");
			con=DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:XE","police2k13","police");
		}
		catch(Exception e)
		{
			System.out.println("mycon err"+e);
		}
		return con;
	}

}
